package org.zfes.snowier.cloud.zbss.pmp.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class PmpRequires extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public PmpRequires() {}
	public PmpRequires(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

	@javax.validation.constraints.NotNull(message="所属项目不能为空")
	  private java.lang.Long projectId;
	  private java.lang.Long parentId;
	//@org.hibernate.validator.constraints.Length(min=0,max=50,message="树顺序节点长度不能大于50")
	  private java.lang.String treeCode;
	  private java.lang.Integer orderNum;
	@javax.validation.constraints.NotBlank(message="需求名不能为空")
	@javax.validation.constraints.NotNull(message="需求名不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="需求名长度不能大于255")
	  private java.lang.String name;

//	@javax.validation.constraints.NotBlank(message="负责人不能为空")
//	@javax.validation.constraints.NotNull(message="负责人不能为空")
//	@org.hibernate.validator.constraints.Length(min=0,max=255,message="负责人长度不能大于255")
	  private java.lang.String chargeUserName;
//	@javax.validation.constraints.NotNull(message="负责人不能为空")
	  private java.lang.Long chargeUserId;
	  private java.util.Date updatetime;
	  private java.util.Date createtime;
	 //1正常，-1删除#
	@javax.validation.constraints.NotNull(message="状态不能为空")
	  private java.lang.Byte status;
	
	//#0根模块，1需求，2模块#
	@javax.validation.constraints.NotNull(message="类型不能为空")
	private java.lang.Byte reType;
	  private java.lang.Long projectVersionId;
	  private java.lang.String projectVersionName;
	  private java.lang.String detail;
//	  @javax.validation.constraints.NotNull(message="优先级不能为空")
	  private java.lang.Byte priority;
	
	//<-------------------------------------------->
	public PmpRequires setProjectId(java.lang.Long projectId){
	 this.projectId=projectId;
	 return this;
	}
	public java.lang.Long getProjectId(){
		return this.projectId;
	}
	public PmpRequires setParentId(java.lang.Long parentId){
	 this.parentId=parentId;
	 return this;
	}
	public java.lang.Long getParentId(){
		return this.parentId;
	}
	public PmpRequires setTreeCode(java.lang.String treeCode){
		this.treeCode=treeCode==null?null:treeCode.trim();
	 return this;
	}
	public java.lang.String getTreeCode(){
		return this.treeCode;
	}
	public PmpRequires setOrderNum(java.lang.Integer orderNum){
	 this.orderNum=orderNum;
	 return this;
	}
	public java.lang.Integer getOrderNum(){
		return this.orderNum;
	}
	public PmpRequires setName(java.lang.String name){
		this.name=name==null?null:name.trim();
	 return this;
	}
	public java.lang.String getName(){
		return this.name;
	}

	public PmpRequires setChargeUserName(java.lang.String chargeUserName){
		this.chargeUserName=chargeUserName==null?null:chargeUserName.trim();
	 return this;
	}
	public java.lang.String getChargeUserName(){
		return this.chargeUserName;
	}
	public PmpRequires setChargeUserId(java.lang.Long chargeUserId){
	 this.chargeUserId=chargeUserId;
	 return this;
	}
	public java.lang.Long getChargeUserId(){
		return this.chargeUserId;
	}
	public PmpRequires setUpdatetime(java.util.Date updatetime){
	 this.updatetime=updatetime;
	 return this;
	}
	public java.util.Date getUpdatetime(){
		return this.updatetime;
	}
	public PmpRequires setCreatetime(java.util.Date createtime){
	 this.createtime=createtime;
	 return this;
	}
	public java.util.Date getCreatetime(){
		return this.createtime;
	}
	public PmpRequires setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public PmpRequires setReType(java.lang.Byte reType){
	 this.reType=reType;
	 return this;
	}
	public java.lang.Byte getReType(){
		return this.reType;
	}
	public PmpRequires setProjectVersionId(java.lang.Long projectVersionId){
	 this.projectVersionId=projectVersionId;
	 return this;
	}
	public java.lang.Long getProjectVersionId(){
		return this.projectVersionId;
	}
	public PmpRequires setProjectVersionName(java.lang.String projectVersionName){
		this.projectVersionName=projectVersionName==null?null:projectVersionName.trim();
	 return this;
	}
	public java.lang.String getProjectVersionName(){
		return this.projectVersionName;
	}
	public PmpRequires setDetail(java.lang.String detail){
		this.detail=detail==null?null:detail.trim();
	 return this;
	}
	public java.lang.String getDetail(){
		return this.detail;
	}
	public java.lang.Byte getPriority() {
		return priority;
	}
	public PmpRequires setPriority(java.lang.Byte priority) {
		this.priority = priority;
		 return this;
	}
}
